<template>
    <div>
        欢迎！<button @click="goLogin()">去登录</button>
    </div>
</template>
<script>

export default {
    methods: {
        goLogin() {
            this.$router.push('/login')
        }
    }
}
</script>
